package com.cunshe.dao;

import com.cunshe.domain.CooperativeCustomers;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 合作客户
 * @author xiao
 */
@Mapper
@Repository
public interface CooperativeCustomersDao {

    /** 新增 */
    int insert(CooperativeCustomers record);

    /** 修改 */
    int delete(Long id);

    /** 修改 */
    int update(CooperativeCustomers record);

    /** 查询列表 */
    List<CooperativeCustomers> list(CooperativeCustomers record);

}